package com.woniuxy.service;

import com.woniuxy.entity.Product;
import com.woniuxy.entity.utils.ResponseEntity;

/**
 * TODO
 *
 * @Description
 * @Author jresm骏
 * @Date 2022/12/5 19:56
 **/

public interface ProductService {
    Product addOne(Product product);

    ResponseEntity findOneById(Integer pid);

    ResponseEntity update(Product product);

    ResponseEntity findAllByNameOrPrice(String name, double minPrice, double maxPrice);
}
